import React, { Component } from "react";
import { DatePicker, Space } from "antd";

export default class PurchaseDatePicker extends Component {
  render() {
    const onChange = (date, dateString) => {
      console.log(date);
      console.log(dateString);
    };

    return (
      <>
        <Space direction="vertical">
          <DatePicker onChange={onChange} />
        </Space>
      </>
    );
  }
}
